﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Caching;

namespace Catalyst.Caching
{
	public class MemcachedUpdateMonitor
	{
		public class MemcachedUpdateMonitor : CacheEntryChangeMonitor
		{
			string m_RegionName;

			public MemcachedUpdateMonitor(string regionName)
			{
				m_RegionName = regionName;
				
				InitializationComplete();
			}

			public override ReadOnlyCollection<string> CacheKeys
			{
				get { throw new NotImplementedException(); }
			}

			public override DateTimeOffset LastModified
			{
				get { throw new NotImplementedException(); }
			}

			public override string RegionName
			{
				get { return m_RegionName; }
			}

			protected override void Dispose(bool disposing)
			{
			
			}

			public override string UniqueId
			{
				get { return Guid.NewGuid().ToString(); }
			}

			public void OnUpdating()
			{

			}
		}
	}
}
